#pragma once
#include "cinclude.hpp"
#include <string>

const int UNLIMITED = -1;

const string NODEJS_PATH = "node";

struct structConfig {
public:
    int maxCpuTime;
    int maxRealTime;
    long maxStack;
    std::string type;        //"0" means c++, "1" means javascript
	long maxMemory;
    long maxOutputSize;
    //int memory_limit_check_only;
    //std::string inputPathPos;
    std::string outputPathPos;
    std::string errorPathPos;
	std::string outPos;
	
	std::string dir;
	std::string testID;
	std::string choose;   //only javascript need it: "0": one custom testcase(test), "1": many testcases(submit)
	
    //char* args[MAX_ARGS_NUMBER];
    //char *env[ENV_MAX_NUMBER];
    //char *log_path;
    //char *seccomp_rule_name;
    //uid_t uid;
    //gid_t gid;
	structConfig()
	{
		;
	}
};
